package com.wjw.dao;

import com.wjw.model.Dept;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class deptDao extends HibernateDaoSupport {
    public Dept getDept(int deptNo){
        return this.getHibernateTemplate().get(Dept.class,deptNo);
    }
}
